//
//  DeliverThemeViewController.h
//  WDFans
//
//  Created by Zhihong Yuan on 2/15/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AbstractTabViewController.h"
#import "UpperKeyboardView.h"
#import "GetPictureFromDevice.h"
#import "UploadFile.h"

typedef enum
{
    kDeliverType = 1,
    kReplyType,
    kSinaType
}ThemeViewType;

@interface DeliverThemeViewController : AbstractTabViewController
<UpperKeyboardViewDelegate, GetPictureFromDeviceDelegate, UploadFileDelegate>

@property (nonatomic, retain) IBOutlet UILabel *titleLabel;
@property (nonatomic, retain) UpperKeyboardView *upperView;
@property (nonatomic, retain) IBOutlet UITextField *titleField;
@property (nonatomic, retain) IBOutlet UITextView *contentTextView;
@property (nonatomic, retain) IBOutlet UIView *themeContentCotainView;

@property (nonatomic, retain) GetPictureFromDevice *getFile;
@property (nonatomic, assign) NSData *fileData;
@property (nonatomic, assign) NSString *fileName;

@property (nonatomic, retain) UploadFile *upFile;

@property (nonatomic, assign) ThemeViewType viewType;
@property (nonatomic, copy) NSString* titleName; 

@property (nonatomic,assign) NSInteger tid;
@property (nonatomic,assign) NSInteger fid;



- (id)initWithType:(ThemeViewType)type;

@end
